package com.scse.bms.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.ibatis.type.Alias;


/**
 * @Title: CustomerAndAuthority
 * @Author: 吴赠禹
 * @Date: 2020/11/1
 * @Version: 1.0
 * @Description: 对应数据表t_customer_authority，中间表
 */

@Getter
@Setter
@ToString
@Alias("userRoleDO")
public class UserRoleDO {

    /**
     * 前三个成员变量对应表字段
     * 后两个成员变量方便映射结果
     */
    private Integer id;
    private Integer userId;
    private Integer roleId;
    private UserDO userDO;
    private RoleDO roleDO;

}
